<div class="container">
    <h1>&nbsp;</h1>
    <div ng-if="name">
        <div class="h5 text-center"><img ng-src="{{image}}" class="img-circle"><br/>&nbsp;</div>
        <h4 class="text-center">{{name}} <br/>&nbsp;</h4>
        <ul class="nav navbar">
            <li class="col-xs-5 per-box t-c" ui-sref="postList">投递</li>
            <li class="col-xs-2"></li>
            <li class="col-xs-5 per-box t-c" ui-sref="favorite">收藏</li>
        </ul>
        <div class="text-center"><button class="btn btn-danger btn-block" ng-click="logout()">退出登录</button></div>
    </div>
    <div ng-hide="name">
        <div class="text-center"><button class="btn btn-success btn-block" ui-sref="login">去登录</button></div>
    </div>
</div>

<div app-footer></div>